﻿using System;
using System.Collections.Generic;
using System.Text;
using Ecreate.Data;
using Ecreate.Model;
using System.Collections;
namespace Ecreate.Business
{
    public class CompanyNewsService
    {
        public void Insert(CompanyNews model)
        {
            FactoryDBEngine.getIBatisService().Insert("t_news_Insert", model);
        }

        public void Update(CompanyNews model)
        {
            FactoryDBEngine.getIBatisService().Update("t_news_Update", model);
        }
    }
}
